package com.itheima.springmvc.exception;

public class CustomerException extends Exception{

	private String errorMessage;

	public CustomerException(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public CustomerException() {

	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
}
